﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../../fly/fly.js" type="text/javascript"></script>
    <script type="text/javascript">
        //测试事件冒泡
        $(function () {
            alert("read")
            $("img").click(function () {
                alert(1)
            })
            .click(function () {
                alert(2)
            })
            .click(function () {
                alert(3)
            })
        }).ready([function () {
            //throw ''
            alert('a')
        }, function () {
            alert(this)
        }, function (arg) {
            alert(arg)
        } ], 'b', 'c')

        $.onLoad(function () {
            alert("load")
//            var select = $("#slt");
//            select.click(function () {
//                alert(0)
//            });

//            select.bind("change",function () {
//                alert(0)
//            });
        })


    </script>
</head>
<body>测试事件冒泡<br />
<img src=http://www.deskcity.com/picture/image_url/78379/Star_004008.jpg?127905219&dfsdffs />
    <select id=slt >
        <option value="1">1</option>
        <option value="2">2</option>
    </select>
</body>
</html>
